package com.baimawangzi.recovery.service;

import com.baimawangzi.recovery.bean.Goods;
import com.baimawangzi.recovery.bean.PageBean;

import java.util.List;

public interface GoodsService {
    List<Goods> findByLimit(int m, int n);
    int add(Goods goods);
    int delete(int id);
    Goods findById(int id);
    int update(Goods goods);
    PageBean<Goods> getPageBean(int currentPage, int pageSize);
}
